﻿@model INTREPWEB.Models.Navio
           
@Html.ValidationSummary(true)

<div class="editor-label">
    @Html.LabelFor(model => model.Nome)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Nome)
    <br />
    @Html.ValidationMessageFor(model => model.Nome)
</div>
<div class="editor-label">
    @Html.LabelFor(model => model.Poroes)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Poroes)
    <br />
    @Html.ValidationMessageFor(model => model.Poroes)
</div>
@*<div class="editor-field">
    @Html.DropDownListFor(x => x.ArmadorId, ViewBag.Armadores as SelectList)
    @Ajax.ActionLink("+", "Criar", "Armador", new AjaxOptions { OnBegin = "criaModal('criararmador')", UpdateTargetId = "criararmador", OnSuccess = "$.modalPopup('criararmador')" })
    <br />
    @Html.ValidationMessageFor(model => model.ArmadorId)
</div>*@

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
